#$ -S /bin/bash
#$ -l h_vmem=9G
#$ -l tmem=9G
#$ -l h_rt=480:0:0
#$ -cwd
#$ -j y

#Run 500 tasks where each task has a different $SGE_TASK_ID ranging from 1 to 500
#$ -t 1-500

#$ -N grid2
date
hostname


#Output the Task ID
echo "Task ID is $SGE_TASK_ID"

/share/apps/matlabR2018b/bin/matlab -nodisplay -nodesktop -nojvm -nosplash -r "main; ID = $SGE_TASK_ID; f_s; exit"

